package com.jsyl.entity.authority;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.jsyl.entity.common.BaseEntity;
import com.jsyl.entity.common.orm.annotation.Column;
import com.jsyl.entity.common.orm.annotation.Entity;
import com.jsyl.entity.common.orm.annotation.Id;

import javax.xml.crypto.Data;
import java.io.Serializable;
import java.util.Date;

/**
 * 成绩实体类
 * 
 * @author
 *
 */
@Entity(table = "score")
public class Score extends BaseEntity implements Serializable {

	private static final long serialVersionUID = 2197491254490089406L;

	/**
	 * 主键ID
	 */
	@Id
	@Column("id")
	private Integer  id;

	@Column("teacher_id")
	private String teacherId;

	@Column("schedule_id")
	private Integer scheduleId;

	@Column("child_id")
	private Integer childId;


	@Column("project_code")
	private String projectCode;

	@Column("score")
	private String score;

	@Column("memo")
	private String  memo;

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@Column("create_time")
	private Date createTime;

	private String name;


	@Override
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getTeacherId() {
		return teacherId;
	}

	public void setTeacherId(String teacherId) {
		this.teacherId = teacherId;
	}

	public Integer getScheduleId() {
		return scheduleId;
	}

	public void setScheduleId(Integer scheduleId) {
		this.scheduleId = scheduleId;
	}

	public Integer getChildId() {
		return childId;
	}

	public void setChildId(Integer childId) {
		this.childId = childId;
	}

	public String getProjectCode() {
		return projectCode;
	}

	public void setProjectCode(String projectCode) {
		this.projectCode = projectCode;
	}

	public String getScore() {
		return score;
	}

	public void setScore(String score) {
		this.score = score;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}


	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
}
